package com.peas.platform.module.icims.expenditure.kpis.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.kpis.adapter.repository.ExpenditureAdjustmentItemRepository;
import com.peas.platform.module.icims.expenditure.kpis.adapter.repository.po.ExpenditureAdjustmentItemPo;
import com.peas.platform.module.icims.expenditure.kpis.domain.ExpenditureAdjustmentItemDomain;
import com.peas.platform.module.icims.expenditure.kpis.dto.ExpenditureAdjustmentItemDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureAdjustmentItemDomainImpl extends BaseDomainImpl<ExpenditureAdjustmentItemDto, ExpenditureAdjustmentItemPo> implements ExpenditureAdjustmentItemDomain {

    @Resource
    private ExpenditureAdjustmentItemRepository expenditureAdjustmentItemRepository;

    @Override
    public BaseRepository<ExpenditureAdjustmentItemPo> getMapper() {
        return expenditureAdjustmentItemRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureAdjustmentItemPo>> getRepositoryClass() {
        return ExpenditureAdjustmentItemRepository.class;
    }

}
